// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
/* 引入第三方包：开始 */
import Vue from 'vue'
import App from './App'
import router from './router'

// vue-resource：引用 【改写成axios】
/* import vueResouce from 'vue-resource'
Vue.use(vueResouce) */

import './common/stylus/index.styl'

// Axios：引入
import axios from 'axios'
// VueAxios：引入 可以定义乱局 axios
import vueAxios from 'vue-axios'
// Axios：安装插件
Vue.use(vueAxios, axios)
/* 引入第三方包：结束 */

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
